package jyj.springmvc.learning.entity;

import java.math.BigDecimal;

/**
 * @Author 老顽固小可爱
 * @Date 2022/12/12 11:01
 * @Version 1.0
 */
public class Product {
    private Integer productId;
    private String productName;
    private BigDecimal price;
    private Integer storage;

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getStorage() {
        return storage;
    }

    public void setStorage(Integer storage) {
        this.storage = storage;
    }

    @Override
    public String toString() {
        return "Product{" +
                "productId=" + productId +
                ", productName='" + productName + '\'' +
                ", price=" + price +
                ", storage=" + storage +
                '}';
    }
}
